package com.shj.service;

import com.shj.entity.SysArea;

import java.util.List;

/**
 * @author songhuajian
 * @Description TODO
 * @date 2020/5/10 17:53
 **/
public interface SysAreaService {

    List<SysArea> findAll();

    List<SysArea> findByGrade(int grade1, int grade2);

    List<SysArea> findChildArea(String areaCode, int grade);

    SysArea findByCode(String areaCode);

    int add(SysArea sysArea);

    int edit(SysArea sysArea);

    int delete(String areaCode);

    String createAreaId(SysArea sysArea);
}
